package sys.mapper;

import sys.model.User;

import java.util.List;
import java.util.Map;

public interface UserMapper {
    int deleteById(Integer id);

    int insert(User record);
    User selectById(Integer id);
    User getUser(Map map);
    int updateByPrimaryKeySelective(User record);
    List<User> getAllUser(Map map);
    int update(User record);
    int editPwd(Map map);
}